import './assets/main.scss'

import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css' 
import router from '@/router'
import {createPinia} from 'pinia'
import { createPersistedState } from 'pinia-persistedstate-plugin'
import local from 'element-plus/dist/locale/zn-cn.js'

import App from './App.vue'

const app = createApp(App);
const pinia = createPinia()
const persistedState = createPersistedState()
pinia.use(persistedState)
app.use(pinia)
app.use(router);
app.use(ElementPlus,{locale});
app.mount('#app')
